package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author wzz
 * @since 2023-09-24
 */
@Getter
@Setter
  @TableName("t_comment")
@ApiModel(value = "TComment对象", description = "")
public class TComment implements Serializable {

    private static final long serialVersionUID = 1L;

      private Integer id;

      @ApiModelProperty("评论内容")
      private String content;

      @ApiModelProperty("评论人id")
      private Integer userId;

      @ApiModelProperty("评论时间")
      private String time;

      @ApiModelProperty("父id")
      private Integer pid;

      @ApiModelProperty("原始id")
      private Integer originId;

      @ApiModelProperty("关联文章的id")
      private Integer articleId;


      @TableField(exist = false)
      @ApiModelProperty("昵称")
      private String nickname;

      @TableField(exist = false)
      @ApiModelProperty("头像")
      private String avatar;
}
